package com.netease.nie.dao;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Repository;

import com.netease.nie.mapper.TopicGoodsMapper;
import com.netease.nie.model.TopicGoods;

@Repository
public class TopicGoodsDao {

	@Resource
	private TopicGoodsMapper topicGoodsMapper;
	
	public List<TopicGoods> queryTopicGoodsesByTopicId(int topicId) {
		return topicGoodsMapper.queryTopicGoodsesByTopicId(topicId);
	}
}